/*
 * Copyright (c) 2006 - 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.io.File;

/**
 * <p>Project: app2022 - Dir2
 * <p>Powered by webrx On 2022-01-17 14:31:46
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Dir2 {
    public static void main(String[] args) {
        String f = "c:/abc/user/java/dir";
        File file = new File(f);
        if (!file.exists()) {
            //file.mkdir();
            file.mkdirs();//推荐使用此方法，可能建立多级目录
        }

        //new File("c:/abc/user/java/dir").delete();
        new File("c:/abc").delete();
    }
}
